package com.vitabuybuy.tv.dto;

import java.io.Serializable;
import java.util.List;

/**
 * 作者：SimGa
 * 日期：2020/12/4
 * 时间：16:37
 * 包名：com.vitabuybuy.tv.dto
 */
public class ClassificationDto {

    /**
     * image : jpg/2760/91_1608.jpg
     * children : [{"image":"jpg/4654/12_22144.jpg","children":[{"image":"jpg/1308/14_11424.jpg","children":[],"name":"空军1号","id":17,"position":10}],"name":"篮球鞋","id":16,"position":10}]
     * name : 耐克
     * id : 15
     * position : 1
     */

    private String image;
    private String name;
    private int id;
    private int position;
    private List<ChildrenBean> children;
    public boolean isCheck;

    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public List<ChildrenBean> getChildren() {
        return children;
    }

    public void setChildren(List<ChildrenBean> children) {
        this.children = children;
    }

    public static class ChildrenBean {
        /**
         * image : jpg/4654/12_22144.jpg
         * children : [{"image":"jpg/1308/14_11424.jpg","children":[],"name":"空军1号","id":17,"position":10}]
         * name : 篮球鞋
         * id : 16
         * position : 10
         */

        private String image;
        private String name;
        private int id;
        private int position;
        private List<ChildrenBean2> children;

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getPosition() {
            return position;
        }

        public void setPosition(int position) {
            this.position = position;
        }

        public List<ChildrenBean2> getChildren() {
            return children;
        }

        public void setChildren(List<ChildrenBean2> children) {
            this.children = children;
        }

        public static class ChildrenBean2 implements Serializable{

            private String image;
            private String name;
            private int id;
            private int position;

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getPosition() {
                return position;
            }

            public void setPosition(int position) {
                this.position = position;
            }
        }
    }
}
